using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._DataManagementTools._Raster._RasterProperties
{
    /// <summary>
    /// <para>Add Colormap</para>
    /// <para>Adds a new color map or replaces an existing color map on a raster dataset.</para>
    /// <para>添加新的颜色映射表或替换栅格数据集上的现有颜色映射表。</para>
    /// </summary>    
    [DisplayName("Add Colormap")]
    public class AddColormap : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public AddColormap()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_raster">
        /// <para>Input Raster</para>
        /// <para>The raster dataset to add or replace a color map.</para>
        /// <para>用于添加或替换颜色映射表的栅格数据集。</para>
        /// </param>
        public AddColormap(object _in_raster)
        {
            this._in_raster = _in_raster;
        }
        public override string ToolboxName => "Data Management Tools";

        public override string ToolName => "Add Colormap";

        public override string CallName => "management.AddColormap";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_raster, _in_template_raster, _input_CLR_file, _out_raster];

        /// <summary>
        /// <para>Input Raster</para>
        /// <para>The raster dataset to add or replace a color map.</para>
        /// <para>用于添加或替换颜色映射表的栅格数据集。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Raster")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_raster { get; set; }


        /// <summary>
        /// <para>Input Template Raster</para>
        /// <para>A raster dataset that has a color map that you want to apply to the input raster dataset.</para>
        /// <para>具有要应用于输入栅格数据集的颜色映射表的栅格数据集。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Template Raster")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public object _in_template_raster { get; set; } = null;


        /// <summary>
        /// <para>Input .clr or .act File</para>
        /// <para>Specify a .clr or .act file to use as the color map.</para>
        /// <para>指定要用作颜色映射表的 .clr 或 .act 文件。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input .clr or .act File")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public object _input_CLR_file { get; set; } = null;


        /// <summary>
        /// <para>Updated Input Raster</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Input Raster")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_raster { get; set; }


        public AddColormap SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}